package com.flnet.spsys.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 微信用户的信息表
 *
 * @author huang
 * @email 479391582@qq.com
 * @date 2018-10-15 09:43:29
 */
@TableName("tb_wechatuser")
@Data
public class WechatuserEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户信息编号
     */
    @TableId
    @ApiModelProperty(value = "用户信息编号", name = "id", required = true)
    private Long id;
    /**
     * 用户昵称: 需要支持表情
     */
    @ApiModelProperty(value = "用户昵称: 需要支持表情", name = "nickName", required = true)
    private String nickName;
    /**
     * 用户头像的链接地址
     */
    @ApiModelProperty(value = "用户头像的链接地址", name = "avatarUrl", required = true)
    private String avatarUrl;
    /**
     * 性别: 0 未知; 1 男性; 2 女性
     */
    @ApiModelProperty(value = "性别: 0 未知; 1 男性; 2 女性", name = "gender", required = true)
    private Integer gender;
    /**
     * 国际化语言
     */
    @ApiModelProperty(value = "国际化语言", name = "language", required = true)
    private String language;
    /**
     * 国家的英文简称
     */
    @ApiModelProperty(value = "国家的英文简称", name = "country", required = true)
    private String country;
    /**
     * 省份的拼音
     */
    @ApiModelProperty(value = "省份的拼音", name = "province", required = true)
    private String province;
    /**
     * 城市的拼音
     */
    @ApiModelProperty(value = "城市的拼音", name = "city", required = true)
    private String city;
    /**
     * 微信用户唯一编号
     */
    @ApiModelProperty(value = "微信用户唯一编号", name = "openid", required = true)
    private String openid;
    /**
     * 微信公众号唯一编号
     */
    @ApiModelProperty(value = "微信公众号唯一编号", name = "unionid", required = true)
    private String unionid;
    /**
     * 用户的特权: 微信范围的是 JSON 数组
     */
    @ApiModelProperty(value = "用户的特权: 微信范围的是 JSON 数组", name = "privilege", required = true)
    private String privilege;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间", name = "createTime", required = true)
    private Date createTime;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "修改时间", name = "updateTime", required = true)
    private Date updateTime;
    /**
     * 年龄
     */
    @ApiModelProperty(value = "年龄", name = "age", required = true)
    private String age;
    /**
     * 签名
     */
    @ApiModelProperty(value = "签名", name = "autograph", required = true)
    private String autograph;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", name = "phone", required = true)
    private String phone;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", name = "password", required = true)
    private String password;
    /**
     * 个人简介
     */
    @ApiModelProperty(value = "个人简介", name = "profile", required = true)
    private String profile;
    /*
    是否接收报警通知（1接收2不接收）
     */
    @ApiModelProperty(value = "  是否接收报警通知（1接收2不接收）", name = "type", required = true)
    private int type;
    @ApiModelProperty(value = "公众号openid", name = "publicopenid;", required = true)
    private String publicopenid;
    @ApiModelProperty(value = "部门ID", name = "deptId;", required = true)
    private Long deptId;
}
